export const EMAIL_EMPTY_ERROR = {
  code: 400,
  message: '邮箱不能为空',
};

export const EMAIL_FORMAT_ERROR = {
  code: 400,
  message: '邮箱格式错误',
};

export const EMAIL_EXISTING_ERROR = {
  code: 409,
  message: '该邮箱已存在, 如忘记密码请通过找回密码进行重置',
};

export const EMAIL_NO_EXISTING_ERROR = {
  code: 404,
  message: '该邮箱不存在, 请先进行注册',
};

export const ACCOUNT_NO_EXISTING_ERROR = {
  code: 404,
  message: '该账号不存在, 请先进行注册',
};

export const ACCOUNT_EMPTY_ERROR = {
  code: 400,
  message: '账号不能为空',
};

export const ACCOUNT_FORMAT_ERROR = {
  code: 400,
  message: '账号格式错误',
};

export const VERIFY_CODE_VALIDITY_ERROR = {
  code: 429,
  message: '验证码处于有效期内, 请勿重复发送验证码',
};

export const VERIFY_CODE_OVERDUE_ERROR = {
  code: 408,
  message: '验证码不存在或已过期, 请重新获取',
};

export const VERIFY_CODE_ERROR = {
  code: 403,
  message: '验证码错误, 请重新获取',
};

export const PASSWORD_ERROR = {
  code: 400,
  message: '密码错误, 如忘记密码请通过找回密码进行密码重置',
};
